﻿using de.wolfmarco.pas.Accounting.Database;
using de.wolfmarco.pas.Accounting.Migrations;
using de.wolfmarco.pas.Accounting.MVVM;
using de.wolfmarco.pas.Shared.Database;
using MySql.Data.Entity;
using MySql.Data.MySqlClient;
using System;
using System.Collections.Generic;
using System.Data.Common;
using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace de.wolfmarco.pas.Accounting.Database
{
    internal class AccountingDbContext : DynamicDbContext<AccountingDbContext, Configuration>
    {
        public AccountingDbContext()
            : base(InitializerModeEnum.MigrateDatabaseToLatestVersion)
        {
        }

        public DbSet<ScheduledCashFlow> ScheduledCashFlowList { get; set; }
    }
}
